package models.core.user;

import java.io.Serializable;
import java.util.Date;

import models.BeanDtoImpl;


/**
 * Contact entity
 */

public class ContactDto extends BeanDtoImpl implements Serializable {

	private static final long serialVersionUID = -5890287234995243101L;
	private String number;
	private String address;
	private String address2;
	private String postalCode;
	private String town;
	private String phone;
	private String mobile;
	private Date creationDate;
	private UserDto user;

	public ContactDto() {
	}

	public ContactDto(Integer id, String number, String address, String address2,
			String postalCode, String town, String phone, String mobile,
			Date creationDate, UserDto user) {
		super();
		this.id = id;
		this.number = number;
		this.address = address;
		this.address2 = address2;
		this.postalCode = postalCode;
		this.town = town;
		this.phone = phone;
		this.mobile = mobile;
		this.creationDate = creationDate;
		this.user = user;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getAddress2() {
		return address2;
	}

	public void setAddress2(String address2) {
		this.address2 = address2;
	}

	public String getPostalCode() {
		return postalCode;
	}

	public void setPostalCode(String postalCode) {
		this.postalCode = postalCode;
	}

	public String getTown() {
		return town;
	}

	public void setTown(String town) {
		this.town = town;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public Date getCreationDate() {
		return creationDate;
	}

	public void setCreationDate(Date creationDate) {
		this.creationDate = creationDate;
	}

	public UserDto getUser() {
		return user;
	}

	public void setUser(UserDto user) {
		this.user = user;
	}

	

}
